<script type="text/javascript">

  var a = 123;
  console.log(typeof(a));

  var a = 123.456;
  console.log(typeof(a));

  var a = "Hello";
  console.log(typeof(a));

  var a = false;
  console.log(typeof(a));

  var a = parseInt("123hello");
  console.log(a);

  var a = parseFloat("123.5");
  console.log(a);

  var a = '1234';
  var b = a.toString();
  console.log(b);
  console.log(typeof(b));

  /*****Concatenate with plus(+)******/
  var a = "Hello "+" World ";
  console.log(a);
  console.log("Length of "+a+ 'is '+a.length);
  console.log(a.replace('H','A'));
  console.log(a.replace('o','*'));
  console.log(a.replace(/o/g,'*'));

  var a = 1234;
  var b = a.toFixed(3);
console.log(b);
</script>

